import React from "react";
import PropTypes from 'prop-types';
import {Button, Result} from "antd";
import {Link} from "react-router-dom";

class Error500 extends React.Component {
    constructor(props) {
        super(props);

        this.state = {};

    }

    render() {
        return (
            <div>
                <Result
                    status="500"
                    title="500"
                    subTitle="抱歉，您访问的页面不存在！"
                    extra={<Button type="primary"><Link to="/home">返回首页</Link></Button>}
                />
            </div>
        );
    }
}

Error500.propTypes = {};

export default Error500;